<?php

namespace BigVideo\Other\COR\Handler;

class Director extends PriceHandler
{
    public function processDiscount($discount)
    {
        if($discount<= 0.4){
            echo($discount."~总经理批准折扣\n");
        }else{
            $this->successor->processDiscount($discount);
        }
    }
}